package com.qf.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (OrderDetails)实体类
 *
 * @author makejava
 * @since 2023-05-17 14:48:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("order_details")
public class OrderDetails {
    @TableId(value = "details_id",type = IdType.AUTO)
    private Integer detailsId;
    
    private Integer goodsId;
    
    private String orderId;
    
    private Float goodsValue;
    
    private Integer detailsDelete;

    @TableField(exist = false)
    private String goodsName;

    @TableField(exist = false)
    private Integer goodsNum;

    @TableField(exist = false)
    private Float goodsPrice;
}

